Namespaces
Variants
Views
Actions

std::char_traits::eq_int_type

From cppreference.com
bool eq_int_type( int_type a, int_type b );
(until C++11)
constexpr bool eq_int_type( int_type a, int_type b );
(since C++11)

Checks whether two values of type int_type are equal.

Return value is unspecified if both of a and b are equal to eof value.

Contents

[edit] Parameters

a, b - values to compare

[edit] Return value

true if a is equal to b, false otherwise.

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)

[edit] Complexity

Constant.